package com.raymond.client.codec.decoding;




import com.raymond.client.codec.BaseCodec;
import com.raymond.client.msg.BaseAgreement;
import io.netty.channel.ChannelHandlerContext;

import java.util.List;

/**
 * 解码类
 *
 * @author :  raymond
 * @version :  V1.0
 * @date :  2021-07-14 11:33
 */
public abstract class BaseDecoder extends BaseCodec {

    /**
     * 解码器
     * @param ctx ctx
     * @param msg 请求体
     * @param out out
     * @throws Exception 异常
     */
    public abstract void decode(ChannelHandlerContext ctx, BaseAgreement msg, List<Object> out) throws Exception;
}
